package com.example.xd.dialtest.net;

import io.reactivex.disposables.Disposable;

/**
 * @auther XuDan on 2019/12/17.
 */
public interface ISubscriber<T extends BaseResponse> {
    void doOnSubscribe(Disposable d);

    void doOnError(String errorMsg);

    void doOnNext(T t);

    void doOnComplete();
}
